package cn.haohaowo.test;

import org.junit.BeforeClass;
import org.springframework.context.annotation.Bean;
import org.springframework.web.context.support.XmlWebApplicationContext;
import org.springframework.web.servlet.HandlerAdapter;
import org.springframework.web.servlet.HandlerMapping;

public class JUnitActionBase {

	private static HandlerMapping handlerMapping;
	private static HandlerAdapter handlerAdapter;
	
	@BeforeClass
	public static void setUp() {
		if(null == handlerMapping) {
			String[] configs = {"classpath:springmvc-servlet.xml"};
			XmlWebApplicationContext context = new XmlWebApplicationContext();
			context.setConfigLocations(configs);
//			Mock
		}
	}
}
